package com.westos.springtest;

import com.westos.calcv2.AddOperator;
import com.westos.calcv2.IOperator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Configuration
public class UserDao {

    @Bean
    public IOperator create(){
        return new AddOperator();
    }
}